#include <iostream>
using namespace std;

int main() {
    cout << INT_MIN << endl<<INT_MAX;
    return 0;
}